/* pages/goods_detail/index.wxss */

/* 避免 底部工具栏 挡住 详情图文  */
page{
	padding-bottom: 90rpx;
}
 
/* 轮播图 */
.detail_swiper{
    swiper{
        height: 65vw;
        text-align: center;

        image{
            width: 60%;
        }
    }
}

/* 商品价格 名称 收藏 */
.goods_price{
    padding: 15rpx;
    font-size: 32rpx;
    font-weight: 600;
    color: var(--themeColor);
}
.goods_name_row{
    display: flex;

    padding: 10rpx 0rpx;
    border-top: 5rpx solid #dedede;
    border-bottom: 5rpx solid #dedede;
    
    .goods_name{
        flex: 5;
        color: #000;
        font-size: 30rpx;
        padding: 0 10rpx;

        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp:2;
    }
    .goods_collect{
        flex: 1;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-left: 1rpx solid #000;

        .iconfont{}
        .icon-shoucang{
            color: var(--themeColor);
        }
        .collect_text{}
    }
}

/* 商品图文 */
.goods_info{
   .goods_info_title{
        font-size: 32rpx;
        color: var(--themeColor);
        font-weight: 600;
        padding: 20rpx;
   } 
   .goods_info_content{}
}

/* 底部工具栏 */
.btm_tool{
    display: flex;

    position: fixed;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 90rpx;

    background-color: #fff;
    border-top: 1rpx solid #ccc;
 
    .tool_item{
        position: relative;

        flex: 1;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        font-size: 24rpx;

        button{
            position: absolute;
            top: 0;
            left: 0;
            width: 100% !important; 
            height: 100%;
            opacity: 0;
        }
    }
    .btn_cart{
        flex: 2;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        color: #fff;
        font-size: 30rpx;
        font-weight: 600;
        background-color: #ffa500;
    }
    .btn_buy{
        flex: 2;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        color: #fff;
        font-size: 30rpx;
        font-weight: 600;
        background-color: #eb4450;
    }
}
